package com.bc.bcquartzservice;

import com.bc.commoncore.config.ConfigBase;
import com.bc.commoncore.security.AES;
import com.bc.commoncore.util.PropertyUtils;

public class Config {
    /* ===========以上配置为每个项目必须的配置项，不能改动==================== */

    /* ===========以下配置为具体的业务配置项==================== */

    // quartz中获取服务配置的接口地址
    private static String quartzConfigUrl;
    // 获取服务配置的频率（s）
    private static String configRate;
    // 获取服务时，配置来源
    private static String platform_id;

    // alertquartzservice报警url
    private static String quartzAlertUrl;

    private static String smsnUrl;

    public static String getQuartzConfigUrl() {
        return PropertyUtils.getProperty("quartzConfigUrl");
    }

    public static String getConfigRate() {
        return PropertyUtils.getProperty("configRate");
    }

    public static String getPlatform_id() {
        return PropertyUtils.getProperty("platform_id");
    }

    public static String getQuartzAlertUrl() {
        return PropertyUtils.getProperty("quartzAlertUrl");
    }

    public static String getSmsnUrl() {
        return PropertyUtils.getProperty("smsnUrl");
    }

}
